package com.imooc.o2o.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name = "tb_product_img")
public class ProductImg implements Serializable {

	@Column(name = "product_img_id")
	private Integer productImgId;

	@Column(name = "img_addr")
	private String imgAddr;

	@Column(name = "img_desc")
	private String imgDesc;

	private Integer priority;

	@Column(name = "create_time")
	private java.util.Date createTime;

	@Column(name = "product_id")
	private Integer productId;

}
